package com.yyh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangyueheng
 * @since 2020-06-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Users对象", description="")
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户表id--主键自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "登录名")
    private String loginName;

    @ApiModelProperty(value = "登陆密码--MD5盐值加密  默认的是ysd123")
    private String password;

    @ApiModelProperty(value = "是否锁定--默认为否")
    private String isLockout;

    @ApiModelProperty(value = "最后登陆时间")
    private LocalDate lastLoginTime;

    @ApiModelProperty(value = "密码错误次数--默认为零")
    private Integer psdWrongTime;

    @ApiModelProperty(value = "锁定时间")
    private LocalDate lockTime;

    @ApiModelProperty(value = "邮箱")
    private String protectEmail;

    @ApiModelProperty(value = "手机号")
    private String protectMtel;

    @ApiModelProperty(value = "用户创建时间--默认当前时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "图片路径--默认：http://localhost:8080/img/headPhoto.jpg")
    private String imgUrl;

    @ApiModelProperty(value = "解锁时间--0:未删除  1：已删除")
    private LocalDate unLockTime;

    @ApiModelProperty(value = "签到状态（0,1）")
    private Integer qdStatic;

    private Date qdTime;

    @ApiModelProperty(value = "签退时间")
    private Date qtTime;
    
    private  Integer isDelete;
}